﻿// Copyright: personal possession of Nguyen Minh Kha
// Datetime: 09:26PM 10/14/2011
// Discription: This class is a common interface for 
//  all renderless object in game. This is base class for all object in game.
// Licencse: Free source
// Version: 1.0
// Writer: Nguyen Minh Kha

/* Google opensource coding standard with variable name exception */

#ifndef GAMEFRAMEWORK_GAMEOBJECT_H_
#define GAMEFRAMEWORK_GAMEOBJECT_H_

//
// This class is a base class for all object in game. 
//    It like a struct than an abstract class.
//
class GameObject {
private:
  struct Location {
    int top;
    int left;
    int bottom;
    int right;
  };

public:
  virtual void Init() = 0;
  virtual void Release() = 0;
public:
  Location location;
};

#endif // GAMEFRAMEWORK_GAMEOBJECT_H_
